package com.niiwoo.civet.trade.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ProjectBorrowerSummaryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProjectBorrowerSummaryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Long value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Long value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Long value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Long value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Long value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Long value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Long> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Long> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Long value1, Long value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Long value1, Long value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectTitleIsNull() {
            addCriterion("project_title is null");
            return (Criteria) this;
        }

        public Criteria andProjectTitleIsNotNull() {
            addCriterion("project_title is not null");
            return (Criteria) this;
        }

        public Criteria andProjectTitleEqualTo(String value) {
            addCriterion("project_title =", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotEqualTo(String value) {
            addCriterion("project_title <>", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleGreaterThan(String value) {
            addCriterion("project_title >", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleGreaterThanOrEqualTo(String value) {
            addCriterion("project_title >=", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleLessThan(String value) {
            addCriterion("project_title <", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleLessThanOrEqualTo(String value) {
            addCriterion("project_title <=", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleLike(String value) {
            addCriterion("project_title like", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotLike(String value) {
            addCriterion("project_title not like", value, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleIn(List<String> values) {
            addCriterion("project_title in", values, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotIn(List<String> values) {
            addCriterion("project_title not in", values, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleBetween(String value1, String value2) {
            addCriterion("project_title between", value1, value2, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andProjectTitleNotBetween(String value1, String value2) {
            addCriterion("project_title not between", value1, value2, "projectTitle");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdIsNull() {
            addCriterion("borrower_user_id is null");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdIsNotNull() {
            addCriterion("borrower_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdEqualTo(String value) {
            addCriterion("borrower_user_id =", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotEqualTo(String value) {
            addCriterion("borrower_user_id <>", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdGreaterThan(String value) {
            addCriterion("borrower_user_id >", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("borrower_user_id >=", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdLessThan(String value) {
            addCriterion("borrower_user_id <", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdLessThanOrEqualTo(String value) {
            addCriterion("borrower_user_id <=", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdLike(String value) {
            addCriterion("borrower_user_id like", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotLike(String value) {
            addCriterion("borrower_user_id not like", value, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdIn(List<String> values) {
            addCriterion("borrower_user_id in", values, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotIn(List<String> values) {
            addCriterion("borrower_user_id not in", values, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdBetween(String value1, String value2) {
            addCriterion("borrower_user_id between", value1, value2, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andBorrowerUserIdNotBetween(String value1, String value2) {
            addCriterion("borrower_user_id not between", value1, value2, "borrowerUserId");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodIsNull() {
            addCriterion("current_period is null");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodIsNotNull() {
            addCriterion("current_period is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodEqualTo(Integer value) {
            addCriterion("current_period =", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodNotEqualTo(Integer value) {
            addCriterion("current_period <>", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodGreaterThan(Integer value) {
            addCriterion("current_period >", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_period >=", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodLessThan(Integer value) {
            addCriterion("current_period <", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("current_period <=", value, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodIn(List<Integer> values) {
            addCriterion("current_period in", values, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodNotIn(List<Integer> values) {
            addCriterion("current_period not in", values, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodBetween(Integer value1, Integer value2) {
            addCriterion("current_period between", value1, value2, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andCurrentPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("current_period not between", value1, value2, "currentPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodIsNull() {
            addCriterion("total_period is null");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodIsNotNull() {
            addCriterion("total_period is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodEqualTo(Integer value) {
            addCriterion("total_period =", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodNotEqualTo(Integer value) {
            addCriterion("total_period <>", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodGreaterThan(Integer value) {
            addCriterion("total_period >", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_period >=", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodLessThan(Integer value) {
            addCriterion("total_period <", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("total_period <=", value, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodIn(List<Integer> values) {
            addCriterion("total_period in", values, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodNotIn(List<Integer> values) {
            addCriterion("total_period not in", values, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodBetween(Integer value1, Integer value2) {
            addCriterion("total_period between", value1, value2, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andTotalPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("total_period not between", value1, value2, "totalPeriod");
            return (Criteria) this;
        }

        public Criteria andRefundDateIsNull() {
            addCriterion("refund_date is null");
            return (Criteria) this;
        }

        public Criteria andRefundDateIsNotNull() {
            addCriterion("refund_date is not null");
            return (Criteria) this;
        }

        public Criteria andRefundDateEqualTo(Date value) {
            addCriterionForJDBCDate("refund_date =", value, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("refund_date <>", value, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateGreaterThan(Date value) {
            addCriterionForJDBCDate("refund_date >", value, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("refund_date >=", value, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateLessThan(Date value) {
            addCriterionForJDBCDate("refund_date <", value, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("refund_date <=", value, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateIn(List<Date> values) {
            addCriterionForJDBCDate("refund_date in", values, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("refund_date not in", values, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("refund_date between", value1, value2, "refundDate");
            return (Criteria) this;
        }

        public Criteria andRefundDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("refund_date not between", value1, value2, "refundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateIsNull() {
            addCriterion("auto_refund_date is null");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateIsNotNull() {
            addCriterion("auto_refund_date is not null");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateEqualTo(Date value) {
            addCriterionForJDBCDate("auto_refund_date =", value, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("auto_refund_date <>", value, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateGreaterThan(Date value) {
            addCriterionForJDBCDate("auto_refund_date >", value, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("auto_refund_date >=", value, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateLessThan(Date value) {
            addCriterionForJDBCDate("auto_refund_date <", value, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("auto_refund_date <=", value, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateIn(List<Date> values) {
            addCriterionForJDBCDate("auto_refund_date in", values, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("auto_refund_date not in", values, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("auto_refund_date between", value1, value2, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andAutoRefundDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("auto_refund_date not between", value1, value2, "autoRefundDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateIsNull() {
            addCriterion("penalty_update_date is null");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateIsNotNull() {
            addCriterion("penalty_update_date is not null");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateEqualTo(Date value) {
            addCriterionForJDBCDate("penalty_update_date =", value, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("penalty_update_date <>", value, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateGreaterThan(Date value) {
            addCriterionForJDBCDate("penalty_update_date >", value, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("penalty_update_date >=", value, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateLessThan(Date value) {
            addCriterionForJDBCDate("penalty_update_date <", value, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("penalty_update_date <=", value, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateIn(List<Date> values) {
            addCriterionForJDBCDate("penalty_update_date in", values, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("penalty_update_date not in", values, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("penalty_update_date between", value1, value2, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPenaltyUpdateDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("penalty_update_date not between", value1, value2, "penaltyUpdateDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateIsNull() {
            addCriterion("previous_refund_date is null");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateIsNotNull() {
            addCriterion("previous_refund_date is not null");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateEqualTo(Date value) {
            addCriterionForJDBCDate("previous_refund_date =", value, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("previous_refund_date <>", value, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateGreaterThan(Date value) {
            addCriterionForJDBCDate("previous_refund_date >", value, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("previous_refund_date >=", value, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateLessThan(Date value) {
            addCriterionForJDBCDate("previous_refund_date <", value, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("previous_refund_date <=", value, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateIn(List<Date> values) {
            addCriterionForJDBCDate("previous_refund_date in", values, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("previous_refund_date not in", values, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("previous_refund_date between", value1, value2, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andPreviousRefundDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("previous_refund_date not between", value1, value2, "previousRefundDate");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestIsNull() {
            addCriterion("refunded_interest is null");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestIsNotNull() {
            addCriterion("refunded_interest is not null");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestEqualTo(BigDecimal value) {
            addCriterion("refunded_interest =", value, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestNotEqualTo(BigDecimal value) {
            addCriterion("refunded_interest <>", value, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestGreaterThan(BigDecimal value) {
            addCriterion("refunded_interest >", value, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_interest >=", value, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestLessThan(BigDecimal value) {
            addCriterion("refunded_interest <", value, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_interest <=", value, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestIn(List<BigDecimal> values) {
            addCriterion("refunded_interest in", values, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestNotIn(List<BigDecimal> values) {
            addCriterion("refunded_interest not in", values, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_interest between", value1, value2, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedInterestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_interest not between", value1, value2, "refundedInterest");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusIsNull() {
            addCriterion("refunded_corpus is null");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusIsNotNull() {
            addCriterion("refunded_corpus is not null");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusEqualTo(BigDecimal value) {
            addCriterion("refunded_corpus =", value, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusNotEqualTo(BigDecimal value) {
            addCriterion("refunded_corpus <>", value, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusGreaterThan(BigDecimal value) {
            addCriterion("refunded_corpus >", value, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_corpus >=", value, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusLessThan(BigDecimal value) {
            addCriterion("refunded_corpus <", value, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_corpus <=", value, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusIn(List<BigDecimal> values) {
            addCriterion("refunded_corpus in", values, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusNotIn(List<BigDecimal> values) {
            addCriterion("refunded_corpus not in", values, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_corpus between", value1, value2, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedCorpusNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_corpus not between", value1, value2, "refundedCorpus");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeIsNull() {
            addCriterion("refunded_management_fee is null");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeIsNotNull() {
            addCriterion("refunded_management_fee is not null");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeEqualTo(BigDecimal value) {
            addCriterion("refunded_management_fee =", value, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeNotEqualTo(BigDecimal value) {
            addCriterion("refunded_management_fee <>", value, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeGreaterThan(BigDecimal value) {
            addCriterion("refunded_management_fee >", value, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_management_fee >=", value, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeLessThan(BigDecimal value) {
            addCriterion("refunded_management_fee <", value, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_management_fee <=", value, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeIn(List<BigDecimal> values) {
            addCriterion("refunded_management_fee in", values, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeNotIn(List<BigDecimal> values) {
            addCriterion("refunded_management_fee not in", values, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_management_fee between", value1, value2, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedManagementFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_management_fee not between", value1, value2, "refundedManagementFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeIsNull() {
            addCriterion("refunded_guarantee_fee is null");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeIsNotNull() {
            addCriterion("refunded_guarantee_fee is not null");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeEqualTo(BigDecimal value) {
            addCriterion("refunded_guarantee_fee =", value, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeNotEqualTo(BigDecimal value) {
            addCriterion("refunded_guarantee_fee <>", value, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeGreaterThan(BigDecimal value) {
            addCriterion("refunded_guarantee_fee >", value, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_guarantee_fee >=", value, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeLessThan(BigDecimal value) {
            addCriterion("refunded_guarantee_fee <", value, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_guarantee_fee <=", value, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeIn(List<BigDecimal> values) {
            addCriterion("refunded_guarantee_fee in", values, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeNotIn(List<BigDecimal> values) {
            addCriterion("refunded_guarantee_fee not in", values, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_guarantee_fee between", value1, value2, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedGuaranteeFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_guarantee_fee not between", value1, value2, "refundedGuaranteeFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeIsNull() {
            addCriterion("refunded_penalty_fee is null");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeIsNotNull() {
            addCriterion("refunded_penalty_fee is not null");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeEqualTo(BigDecimal value) {
            addCriterion("refunded_penalty_fee =", value, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeNotEqualTo(BigDecimal value) {
            addCriterion("refunded_penalty_fee <>", value, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeGreaterThan(BigDecimal value) {
            addCriterion("refunded_penalty_fee >", value, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_penalty_fee >=", value, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeLessThan(BigDecimal value) {
            addCriterion("refunded_penalty_fee <", value, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refunded_penalty_fee <=", value, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeIn(List<BigDecimal> values) {
            addCriterion("refunded_penalty_fee in", values, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeNotIn(List<BigDecimal> values) {
            addCriterion("refunded_penalty_fee not in", values, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_penalty_fee between", value1, value2, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andRefundedPenaltyFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refunded_penalty_fee not between", value1, value2, "refundedPenaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateIsNull() {
            addCriterion("penalty_rate is null");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateIsNotNull() {
            addCriterion("penalty_rate is not null");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateEqualTo(BigDecimal value) {
            addCriterion("penalty_rate =", value, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateNotEqualTo(BigDecimal value) {
            addCriterion("penalty_rate <>", value, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateGreaterThan(BigDecimal value) {
            addCriterion("penalty_rate >", value, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("penalty_rate >=", value, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateLessThan(BigDecimal value) {
            addCriterion("penalty_rate <", value, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("penalty_rate <=", value, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateIn(List<BigDecimal> values) {
            addCriterion("penalty_rate in", values, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateNotIn(List<BigDecimal> values) {
            addCriterion("penalty_rate not in", values, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("penalty_rate between", value1, value2, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andPenaltyRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("penalty_rate not between", value1, value2, "penaltyRate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateIsNull() {
            addCriterion("critical_overdue_date is null");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateIsNotNull() {
            addCriterion("critical_overdue_date is not null");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateEqualTo(Date value) {
            addCriterionForJDBCDate("critical_overdue_date =", value, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("critical_overdue_date <>", value, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateGreaterThan(Date value) {
            addCriterionForJDBCDate("critical_overdue_date >", value, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("critical_overdue_date >=", value, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateLessThan(Date value) {
            addCriterionForJDBCDate("critical_overdue_date <", value, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("critical_overdue_date <=", value, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateIn(List<Date> values) {
            addCriterionForJDBCDate("critical_overdue_date in", values, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("critical_overdue_date not in", values, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("critical_overdue_date between", value1, value2, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andCriticalOverdueDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("critical_overdue_date not between", value1, value2, "criticalOverdueDate");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNull() {
            addCriterion("publish_time is null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNotNull() {
            addCriterion("publish_time is not null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeEqualTo(Date value) {
            addCriterion("publish_time =", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotEqualTo(Date value) {
            addCriterion("publish_time <>", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThan(Date value) {
            addCriterion("publish_time >", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("publish_time >=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThan(Date value) {
            addCriterion("publish_time <", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThanOrEqualTo(Date value) {
            addCriterion("publish_time <=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIn(List<Date> values) {
            addCriterion("publish_time in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotIn(List<Date> values) {
            addCriterion("publish_time not in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeBetween(Date value1, Date value2) {
            addCriterion("publish_time between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotBetween(Date value1, Date value2) {
            addCriterion("publish_time not between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeIsNull() {
            addCriterion("over_time is null");
            return (Criteria) this;
        }

        public Criteria andOverTimeIsNotNull() {
            addCriterion("over_time is not null");
            return (Criteria) this;
        }

        public Criteria andOverTimeEqualTo(Date value) {
            addCriterion("over_time =", value, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeNotEqualTo(Date value) {
            addCriterion("over_time <>", value, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeGreaterThan(Date value) {
            addCriterion("over_time >", value, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("over_time >=", value, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeLessThan(Date value) {
            addCriterion("over_time <", value, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeLessThanOrEqualTo(Date value) {
            addCriterion("over_time <=", value, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeIn(List<Date> values) {
            addCriterion("over_time in", values, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeNotIn(List<Date> values) {
            addCriterion("over_time not in", values, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeBetween(Date value1, Date value2) {
            addCriterion("over_time between", value1, value2, "overTime");
            return (Criteria) this;
        }

        public Criteria andOverTimeNotBetween(Date value1, Date value2) {
            addCriterion("over_time not between", value1, value2, "overTime");
            return (Criteria) this;
        }

        public Criteria andChannelCodeIsNull() {
            addCriterion("channel_code is null");
            return (Criteria) this;
        }

        public Criteria andChannelCodeIsNotNull() {
            addCriterion("channel_code is not null");
            return (Criteria) this;
        }

        public Criteria andChannelCodeEqualTo(String value) {
            addCriterion("channel_code =", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotEqualTo(String value) {
            addCriterion("channel_code <>", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeGreaterThan(String value) {
            addCriterion("channel_code >", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeGreaterThanOrEqualTo(String value) {
            addCriterion("channel_code >=", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeLessThan(String value) {
            addCriterion("channel_code <", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeLessThanOrEqualTo(String value) {
            addCriterion("channel_code <=", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeLike(String value) {
            addCriterion("channel_code like", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotLike(String value) {
            addCriterion("channel_code not like", value, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeIn(List<String> values) {
            addCriterion("channel_code in", values, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotIn(List<String> values) {
            addCriterion("channel_code not in", values, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeBetween(String value1, String value2) {
            addCriterion("channel_code between", value1, value2, "channelCode");
            return (Criteria) this;
        }

        public Criteria andChannelCodeNotBetween(String value1, String value2) {
            addCriterion("channel_code not between", value1, value2, "channelCode");
            return (Criteria) this;
        }

        public Criteria andRepayStatusIsNull() {
            addCriterion("repay_status is null");
            return (Criteria) this;
        }

        public Criteria andRepayStatusIsNotNull() {
            addCriterion("repay_status is not null");
            return (Criteria) this;
        }

        public Criteria andRepayStatusEqualTo(Byte value) {
            addCriterion("repay_status =", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusNotEqualTo(Byte value) {
            addCriterion("repay_status <>", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusGreaterThan(Byte value) {
            addCriterion("repay_status >", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("repay_status >=", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusLessThan(Byte value) {
            addCriterion("repay_status <", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusLessThanOrEqualTo(Byte value) {
            addCriterion("repay_status <=", value, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusIn(List<Byte> values) {
            addCriterion("repay_status in", values, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusNotIn(List<Byte> values) {
            addCriterion("repay_status not in", values, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusBetween(Byte value1, Byte value2) {
            addCriterion("repay_status between", value1, value2, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andRepayStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("repay_status not between", value1, value2, "repayStatus");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagIsNull() {
            addCriterion("penalty_max_flag is null");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagIsNotNull() {
            addCriterion("penalty_max_flag is not null");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagEqualTo(Byte value) {
            addCriterion("penalty_max_flag =", value, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagNotEqualTo(Byte value) {
            addCriterion("penalty_max_flag <>", value, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagGreaterThan(Byte value) {
            addCriterion("penalty_max_flag >", value, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("penalty_max_flag >=", value, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagLessThan(Byte value) {
            addCriterion("penalty_max_flag <", value, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagLessThanOrEqualTo(Byte value) {
            addCriterion("penalty_max_flag <=", value, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagIn(List<Byte> values) {
            addCriterion("penalty_max_flag in", values, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagNotIn(List<Byte> values) {
            addCriterion("penalty_max_flag not in", values, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagBetween(Byte value1, Byte value2) {
            addCriterion("penalty_max_flag between", value1, value2, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andPenaltyMaxFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("penalty_max_flag not between", value1, value2, "penaltyMaxFlag");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedIsNull() {
            addCriterion("is_advanced is null");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedIsNotNull() {
            addCriterion("is_advanced is not null");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedEqualTo(Byte value) {
            addCriterion("is_advanced =", value, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedNotEqualTo(Byte value) {
            addCriterion("is_advanced <>", value, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedGreaterThan(Byte value) {
            addCriterion("is_advanced >", value, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_advanced >=", value, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedLessThan(Byte value) {
            addCriterion("is_advanced <", value, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedLessThanOrEqualTo(Byte value) {
            addCriterion("is_advanced <=", value, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedIn(List<Byte> values) {
            addCriterion("is_advanced in", values, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedNotIn(List<Byte> values) {
            addCriterion("is_advanced not in", values, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedBetween(Byte value1, Byte value2) {
            addCriterion("is_advanced between", value1, value2, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andIsAdvancedNotBetween(Byte value1, Byte value2) {
            addCriterion("is_advanced not between", value1, value2, "isAdvanced");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}